package com.relytosoft.mizar.media.display.api.entity;

import com.relytosoft.mizar.media.display.api.enums.CruiseCommand;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 巡航控制类
 *
 * @author hj
 * @version 1.0
 * @date 2022/4/11 16:02
 * @ClassName CruiseControl
 */
@ApiModel("巡航控制类")
public class CruiseControl implements Serializable {

    private static final long serialVersionUID = 8487646921059176553L;

    @ApiModelProperty(value = "巡航控制命令")
    @NotNull(message = "控制命令不能为空！")
    private CruiseCommand command;

    @ApiModelProperty(value = "巡航轨迹id")
    @NotNull(message = "巡航轨迹不能为空！")
    private Integer cruiseId;

    public CruiseCommand getCommand() {
        return command;
    }

    public void setCommand(CruiseCommand command) {
        this.command = command;
    }

    public Integer getCruiseId() {
        return cruiseId;
    }

    public void setCruiseId(Integer cruiseId) {
        this.cruiseId = cruiseId;
    }
}
